///author: create by SunJH
///时间: 2022/1/10 0010
///邮箱: 965989158@qq.com
///描述:
///
class VersionInfo{
  VersionInfo();
  String? channel;
  String? downloadUrl;
  bool? isMust;
  String? versionName;
  int? versionNum;
  List<String>? upDateLabel;

  VersionInfo.fromJson(dynamic json) {
    channel = json["channel"];
    downloadUrl = json["downloadUrl"];
    isMust = json["isMust"];
    versionName = json["versionName"];
    versionNum = json["versionNum"];
    upDateLabel = json["upDateLabel"]!= null? json["upDateLabel"].cast<String>():[];
  }

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
      map["channel"] = channel;
      map["downloadUrl"] = downloadUrl;
      map["isMust"] = isMust;
      map["versionName"] = versionName;
      map["versionNum"] = versionNum;
      map["upDateLabel"] = upDateLabel;
    return map;
  }
  }